import { Injectable } from '@nestjs/common';

@Injectable()
export class UserService {
  getUserList(): any {
    return {
      code: 0,
      data: [
        { name: '1', id: 1 },
        { name: '2', id: 2 },
      ],
    };
  }

  addUser():any{
    return {
      code:0,
      message:'调用post请求'
    }
  }
}
